package com.barunlab.ems.model;

import java.io.Serializable;

import com.barunlab.ems.constants.UserLevel;

public class UserInfo implements Serializable {
	private static final long serialVersionUID = 1477008751423380963L;

	private String 		id;
	private String 		name;
	private String 		password;
	private UserLevel	level;
	private String 		lastUpdate;
	private String		lastUseIp;
	private String		managedNode;
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public UserLevel getLevel() {
		return level;
	}

	public void setLevel(UserLevel level) {
		this.level = level;
	}
	
	public String getLastUpdate() {
		return lastUpdate;
	}

	public void setLastUpdate(String lastUpdate) {
		this.lastUpdate = lastUpdate;
	}

	public String getLastUseIp() {
		return lastUseIp;
	}

	public void setLastUseIp(String lastUseIp) {
		this.lastUseIp = lastUseIp;
	}

	public String getManagedNode() {
		return managedNode;
	}

	public void setManagedNode(String managedNode) {
		this.managedNode = managedNode;
	}

	@Override
	public String toString() {
		return id;
	}
}
